package com.ssm.subject.infra.basic.service;

import com.ssm.subject.infra.basic.entity.SubjectLiked;

import java.util.List;


/**
 * (SubjectLiked)表服务接口
 *
 * @author makejava
 * @since 2025-01-22 19:55:42
 */
public interface SubjectLikedService {

    /**
     * 批量新增
     * @param subjectLikedList
     */
    int batchInsertOrUpdate(List<SubjectLiked> subjectLikedList);

    /**
     * 查询满足条件的数量
     * @param subjectLiked
     * @return
     */
    int countByCondition(SubjectLiked subjectLiked);

    /**
     * 分页查询
     * @param subjectLiked
     * @param start
     * @param pageSize
     * @return
     */
    List<SubjectLiked> queryPage(SubjectLiked subjectLiked, int start, Integer pageSize);
}
